package com.example.myapplication.model

/**
 * 股票基本信息
 */
data class Stock(
    val symbol: String,           // 股票代码
    val name: String,              // 股票名称
    val currentPrice: Double,      // 当前价格
    val change: Double,            // 涨跌额
    val changePercent: Double,     // 涨跌幅百分比
    val volume: Long,              // 成交量
    val marketCap: Double? = null, // 市值
    val sector: String? = null,    // 行业
    val signalType: String? = null,     // 买卖信号类型 (BUY/SELL/HOLD)
    val signalStrength: Int? = null,    // 信号强度 (0-100)
    val buyPrice: Double? = null,       // 建议买入价格
    val targetPrice: Double? = null,    // 目标价格
    val stopLoss: Double? = null,       // 止损价格
    val signalReason: String? = null    // 信号原因
)

